*{
    margin:0;
    padding:0;
    list-style: none;
}
body{
    background-color:#333;
    color:#fff;
    width: 100vw;
    height: 100vh;
    display: flex;
    justify-content: center;
}
#navul{
    position: relative;
    line-height: 30px;
    width: 350px;
    height: 30px;
    box-shadow: 2px 5px 15px rgba(0, 0, 0, 0.7);
    display: flex;
    margin-top: 30px;
    border-radius: 5px;
    font-size: 14px;
}
.navli{
    width: 70px;
    text-align: center;
}
.navli:hover .ulson{
    display: block;
}
.ulson{
    border-radius: 5px;
    box-shadow: 2px 5px 15px rgba(0, 0, 0, 0.7);
    display: none;
}
.ulson li:not(:first-child){
    border-top: 1px dashed #ccc;
}
.lison:hover{
    background-color: red;
    border-radius: 3px;
}
#hk{
    position: absolute;
    left: 0px;
    /* left: 70px; */
    width: 70px;
    height: 30px;
    background-color: rgba(100, 100, 130, .5);
    border-radius: 5px;
    z-index: -999;
    transition: .5s;
    display: none;
}
.navli:nth-child(1):hover~#hk{
    display: block;
    left: 0px;
}
.navli:nth-child(2):hover~#hk{
    display: block;
    left: 70px;
}
.navli:nth-child(3):hover~#hk{
    display: block;
    left: 140px;
}
.navli:nth-child(4):hover~#hk{
    display: block;
    left: 210px;
}
.navli:nth-child(5):hover~#hk{
    display: block;
    left: 280px;
}